home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 5817 / 5817.xpi / chrome / content / createtrigger.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  4KB  |  105 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <!DOCTYPE window SYSTEM "chrome://sqlitemanager/locale/sqlitemanager.dtd">
  4.  
  5. <dialog id="createtrigger" title="&window.title; - &createTrigger;"
  6.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         buttons="accept,cancel"
  8.         ondialogaccept="return CreateManager.doOKCreateTrigger();"
  9.         ondialogcancel="return CreateManager.doCancel();"
  10.         onload="CreateManager.loadCreateTriggerDialog();">
  11.  
  12.   <script type="application/x-javascript" src="createManager.js"/>  
  13.   <script type="application/x-javascript" src="globals.js"/>  
  14.  
  15.   <hbox flex="1" style="margin:5px 0 5px 0;">
  16.     <spacer flex="1"/>
  17.     <label style="padding-top:3px" 
  18.         accesskey="D"
  19.         control="dbName" 
  20.         value="&createTrigger.dbName;"/>
  21.     <menulist id="dbName"
  22.       oncommand="CreateManager.selectDb('dbName')"/>
  23.     <label style="padding-top:3px" 
  24.         accesskey="N"
  25.         control="objectName" 
  26.         value="&createTrigger.triggername;"/>
  27.     <textbox id="objectName"/>
  28.     
  29.     <label style="padding-top:5px" 
  30.         accesskey="a"
  31.         control="tabletoindex" 
  32.         value="&createTrigger.tabletoindex;"/>
  33.      <menulist id="tabletoindex" 
  34.          style="width: 25ex" 
  35.          sizetopopup="always" 
  36.          value="">
  37.       <menupopup>
  38.         <menuitem label="&createTrigger.loading;" selected="true"/>
  39.       </menupopup>
  40.     </menulist>
  41.     
  42.     <spacer flex="1"/>
  43.   </hbox>
  44.   <hbox flex="1" style="margin:5px 0 5px 0;">
  45.     <spacer flex="1"/>
  46.     <checkbox id="tempObject"
  47.         accesskey="&createTrigger.tempObject.ak;"
  48.         label="&createTrigger.tempObject;"/>
  49.     <checkbox id="ifnotexists"
  50.         accesskey="&createTrigger.ifnotexists.ak;"
  51.         label="&createTrigger.ifnotexists;"/>
  52.     <spacer flex="1"/>
  53.   </hbox>
  54.   <vbox id="details-view">
  55.   <groupbox>
  56.     <caption label="&createTrigger.databaseevent;"/>
  57.     <hbox>
  58.     <label style="padding-top:3px" 
  59.         accesskey="&createTrigger.triggerTime.ak;"
  60.         control="triggerTime" 
  61.         value="&createTrigger.triggerTime;"/>
  62.      <menulist id="triggerTime" 
  63.          style="width: 25ex" 
  64.          sizetopopup="always" 
  65.          value="">
  66.       <menupopup>
  67.         <menuitem label="" selected="true"/>
  68.         <menuitem label="BEFORE"/>
  69.         <menuitem label="AFTER"/>
  70.       </menupopup>
  71.     </menulist>
  72.     <label style="padding-top:3px" 
  73.         accesskey="&createTrigger.dbEvent.ak;"
  74.         control="dbEvent" 
  75.         value="&createTrigger.dbEvent;"/>
  76.      <menulist id="dbEvent" 
  77.          style="width: 25ex" 
  78.          sizetopopup="always" 
  79.          value="">
  80.       <menupopup>
  81.         <menuitem label="DELETE" selected="true"/>
  82.         <menuitem label="INSERT"/>
  83.         <menuitem label="UPDATE"/>
  84.       </menupopup>
  85.     </menulist>
  86.     </hbox>    
  87.     </groupbox>
  88.   <groupbox>
  89.     <caption label="&createTrigger.triggeraction;"/>
  90.     <checkbox id="foreachrow"
  91.         accesskey="&createTrigger.foreachrow.ak;"
  92.         label="&createTrigger.foreachrow;"/>
  93.     <label control="txtWhenExpression" value="&createTrigger.txtWhenExpression;"
  94.       accesskey="&createTrigger.txtWhenExpression.ak;"/>
  95.     <textbox id="txtWhenExpression" multiline="true" rows="2" cols="50" 
  96.             align="stretch"/>
  97.     <label control="txtTriggerSteps" value="&createTrigger.txtTriggerSteps;"
  98.       accesskey="&createTrigger.txtTriggerSteps.ak;"/>
  99.     <textbox id="txtTriggerSteps" multiline="true" rows="4" cols="50" 
  100.             align="stretch"/>
  101.     </groupbox>
  102.   </vbox>
  103.  
  104. </dialog>
  105.